﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyBulltin.ascx.cs" Inherits="MyBullitin.MyBulltin"  EnableViewState="true" %>


<style type="text/css">
.hidden
{
	display:none
}
</style>

<%--<div>

    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>

</div>--%>

<div>
    
<%--<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>--%>
     <table width=100%>
        <tr>
            <td colspan=3 width= 100%>
                <asp:GridView ID="grdBullitins" runat="server" AutoGenerateColumns="False" 
                    CaptionAlign="Left" GridLines="None" Height="110px" 
                     onrowcommand="grdBullitins_RowCommand" 
                    onrowdatabound="grdBullitins_RowDataBound" ShowHeader="False" 
                    style="margin-bottom: 11px;word-break:break-all;word-wrap:break-word; margin-right: 84px;" 
                    Width="100%" AllowPaging="True">
                    <PagerSettings Visible="False" />
                    <Columns>
                      <asp:BoundField DataField="Content_id" HeaderText="公告id" ItemStyle-VerticalAlign="Top" 
                           itemstyle-cssclass="hidden">
                            <ItemStyle VerticalAlign="Top" Width="20%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="s_class_name" HeaderText="分类" ItemStyle-VerticalAlign="Top" 
                            ItemStyle-Width="10%">
                            <ItemStyle VerticalAlign="Top" Width="10%" />
                        </asp:BoundField>
                        <asp:TemplateField>
                            <ItemTemplate> 
                                <asp:Label ID="lblTitle" runat="server" Text='<%#DataBinder.Eval(Container,"DataItem.Content")%>'></asp:Label>
                                <asp:Image ID="imgNew" runat="server" ImageUrl="" />
                                <asp:Button ID="btnHiddenPostButton" CommandName="HiddenPostButtonCommand" runat="server" Text="HiddenPostButton" style="display:none" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="release_date" HeaderText="日期" ItemStyle-VerticalAlign="Top" 
                            ItemStyle-Width="10%">
                            <ItemStyle VerticalAlign="Top" Width="10%"  HorizontalAlign=right/>
                        </asp:BoundField>
                    </Columns>
                </asp:GridView>
            </td>
       </tr>
   
    <!--更多 和 历次  靠右停靠-->
        <tr> 
        <td width="10%">
        </td>  
            <td align =right width = 80%>
                <asp:HyperLink ID="linkMore" runat="server" ForeColor="Blue" 
                   Target="_blank" Font-Underline=false >&lt;更多</asp:HyperLink>
                   </td>
                   <td width =10% align=right>
                     <asp:HyperLink ID="linkHistory" runat="server" ForeColor="Blue" Target="_blank" Font-Underline=false>&lt;历次</asp:HyperLink>

            </td>
        </tr>
       </table>
 <%--   </ContentTemplate>
</asp:UpdatePanel>--%>

</div>




